package com.shen.computer;

/**
 * Author:shen
 * CreateDate:2020/5/17.
 * Function:
 */
public class USBFan implements USB {
    private String brand;

    public USBFan(String b) {
        brand = b;
    }
    @Override
    public void plug() {
        System.out.println(brand + "接在了usb口上");
        System.out.println("供电电压是" + V + "伏");
    }

    @Override
    public void work() {
        System.out.println("扇叶转动,送出冷风");
    }
}
